package org.lc.cmd.impl.bridge;

import org.jline.utils.AttributedString;
import org.lc.cmd.CmdDataBridge;
import org.springframework.web.socket.WebSocketHandler;

import javax.websocket.server.ServerEndpoint;

public class WsServerBridge implements CmdDataBridge {
    @Override
    public void sendCmdLine(String line) {
        throw new UnsupportedOperationException("服务端无需实现");
    }

    @Override
    public String readLine(String prompt) {
        return null;
    }

    @Override
    public void write(AttributedString str, boolean above) {

    }

    @Override
    public void closeClient() {

    }

    @Override
    public void closeServer() {

    }

    @ServerEndpoint("")
    public static class WsServer {

    }
}
